package com.dragon.graduation.teacher.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.dragon.generator.CommonBean;
import lombok.*;

/**
* <p>
* 教师表 实体类
* </p>
*
* @author dragon
* @since 2025-02-28 21:24:33
*/

@TableName("db_teacher")
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ToString
public class TeacherEntity extends CommonBean {
    /**
     * 用户ID
     */
    @TableField("user_id")
    private Integer userId;
    /**
     * 工号
     */
    @TableField("employee_number")
    private String employeeNumber;
    /**
     * 职称（如教授）
     */
    @TableField("title")
    private String title;
    /**
     * 所属院系
     */
    @TableField("department")
    private String department;
    /**
     * 职位（如系主任）
     */
    @TableField("position")
    private String position;
    /**
     * 教师名称
     */
    @TableField("name")
    private String name;
}